package com.zbkj.service.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.user.Partner;
import com.zbkj.common.request.PageParamRequest;

/**
 * <p>
 * 合作伙伴表 服务类
 * </p>
 *
 * @author 
 * @since 2024-09-11
 */
public interface PartnerService extends IService<Partner> {

    int getCountByIviteCode(String inviteCode);

    Partner getByIviteCode(String inviteCode);

    PageInfo<Partner> adminGetlist(PageParamRequest queryRequest);

    Partner getPartnerById(Long id);

    int getCountByPhone(String phone, Long id);
}
